/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package run;

import core.Core;
import model.Dapversion;
import model.Product;
import model.Seller;

/**
 *
 * @author phinguyen
 */
public class TestResearch {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Core core = new Core();
        System.out.println("Afficher tous les Dapversion");
        for (Dapversion dapversion : core.getAllDapversion()) {
            System.out.println(dapversion);
        }
        System.out.println("Afficher résultat de la recherche via id du vendeur");
        System.out.println(core.getSellerById(1).toString());
    }
    
}
